/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package packageModel;

import java.io.Serializable;

/**
 *
 * @author laurent
 */
public class Category implements Serializable
{
    private String name;
    private int id;
    
    public Category(String categoryName)
    {
        name = categoryName;
    }
    
    public Category(String categoryName, int categID)
    {
        this(categoryName);
        id = categID;
    }
    
    public String getName()
    {
        return name;
    }
    public int getId()
    {
        return id;
    }
}
